using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Systepic.Projects;

public partial class Admin_Controls_EditProjects : System.Web.UI.UserControl
{
	protected void Page_Load(object sender, EventArgs e)
	{
		int id;
		if (Request.QueryString["deleteProject"] != null)
		{
			id = int.Parse(Request.QueryString["deleteProject"]);
			Project p = new Project();
			p.ProjectId = id;
			ProjectsHelper.DeleteProject(p);
			this.GridView1.DataBind();
		}
	}

	public void ReBind()
	{
		this.GridView1.DataBind();
	}
}
